package com.woniuxy.cloud.carl.marketing.app.apiImpl;

import com.woniu.cloud.Aspect.log.Log;
import com.woniuxy.cloud.carl.marketing.client.ScoreLogClient;
import com.woniuxy.cloud.carl.marketing.client.param.AddScoreLogParam;
import com.woniuxy.cloud.carl.marketing.client.result.ScoreLogDto;
import com.woniuxy.cloud.carl.marketing.infra.model.ScoreLog;
import com.woniuxy.cloud.carl.marketing.service.ScoreLogService;
import com.woniuxy.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ScoreLogAPIImpl implements ScoreLogClient {
    @Autowired
    ScoreLogService scoreLogService;
    @Override
    @Log("生成积分对话记录")
    public Result addScoreLog(AddScoreLogParam param) {
        return scoreLogService.addScoreLog(param);
    }


}
